package org.jeecg.prod.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.jeecg.common.aspect.annotation.Dict;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 样件配置表(MesTestunitdetailCfg)实体类
 *
 * @author makejava
 * @since 2024-09-19 16:17:02
 */
@Data
@TableName("mes_testunitdetail_cfg")
@ApiModel(value = "mes_testunitdetail_cfg对象", description = "样件配置子数据")
public class MesTestunitdetailCfg implements Serializable {
    private static final long serialVersionUID = 879308380182473534L;
    /**
     * 主键ID
     */
    @ApiModelProperty(value = "主键ID")
    @TableId(type = IdType.AUTO)
    private Integer recId;
    /**
     * HEADID
     */
    @ApiModelProperty(value = "样件配置主表ID")
    private Integer headId;
    /**
     * 检验配置表ID
     */
    @ApiModelProperty(value = "检验配置表ID")
    private Integer cfgid;
    /**
     * 创建时间
     */
    @Excel(name = "创建时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建时间")
    private Date ctime;
    /**
     * 1: 可用，0:不可用
     */
    @Excel(name = "是否可用", width = 15)
    @ApiModelProperty(value = "是否可用")
    @Dict(dicCode = "isEnabled")
    private String enable;
    /**
     * 下限值
     */
    @Excel(name = "下限值", width = 15)
    @ApiModelProperty(value = "下限值")
    private BigDecimal lowLimit;
    /**
     * 上限值
     */
    @Excel(name = "上限值", width = 15)
    @ApiModelProperty(value = "上限值")
    private BigDecimal upLimit;
    /**
     * 标准值
     */
    @Excel(name = "标准值", width = 15)
    @ApiModelProperty(value = "标准值")
    private BigDecimal standard;

}

